<%-- 
    Document   : paymententry
    Created on : Sep 21, 2012, 9:14:49 PM
    Author     : HIREN
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="default.css" rel="stylesheet" type="text/css" media="screen" />
	<link rel="stylesheet" href="validationEngine.jquery.css" type="text/css"/>
        <script src="jquery-1.8.2.js" type="text/javascript">
	</script>
        <script src="jquery.validationEngine-en.js" type="text/javascript" >
	</script>
        <script src="jquery.validationEngine.js" type="text/javascript">
	</script>
        <script>
	
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#login").validationEngine();
		});
		
		</script>
    </head>
    <body>
        <h1>Payment Entry</h1>
        <form id="login" mehtod="post">
        <table border="0">
            <tr>
                <td>Party Id:</td>
                <td><input type="text" class="validate[required] contact_input" name="prid" id="prid"/></td>
            </tr>
             <tr>
                <td>Party Name:</td>
                <td><input type="text" class="validate[required] contact_input" name="prname" id="prname"/></td>
            </tr>
           
            <tr>
                <td>Voucher (PY/RC)</td>
                <td><select class="validate[required] contact_input" name="voucher" id="voucher" />
                            <option value="PY">PY</option>
                            <option value="RC">RC</option>
                    </select></td>
            </tr>
            <tr>
                <td>Payment Date</td>
                <td><input type="date" class="validate[required] contact_input" id="date" name="date"/></td>
            </tr>
            <tr>
                <td>Amount</td>
                <td><input type="text" class="validate[required] contact_input" id="amount" name="amount" /></td>
             </tr>
             <tr>
                 <td>Payment Type</td>
                 <td><select class="validate[required] contact_input" name="paytype" id="paytype" />
                            <option value="cash">Cash</option>
                            <option value="DD">DD</option>
                    </select></td>
             </tr>
             <tr>
                 <td>DD Number</td>
                 <td><input type="text" class="validate[required] contact_input" id="ddno" name="ddno"/></td>
             </tr>
             <tr>
                 <td>DD bank Name</td>
                 <td><input type="text" class="validate[required] contact_input" id="ddbname" name="ddbname"/></td>
             </tr>
             <tr>
                 <td>DD Date</td>
                 <td><input type="date" class="validate[required] contact_input" id="dddate" name="dddate"/></td>
             </tr>
             <tr>
                <td><input type="submit" value="Add"/>
                    <input type="reset"/><br/></td>
            </tr>
        </table>
        </form>
    </body>
</html>
